package com.wxy.learn.classLoad;

/**
 * Child: 子类
 *
 * @author wxy
 * @since 2023-01-08
 */
public class Child extends Parent {
    static {
        printAndReturn("child static code block");
    }

    private static final String PRI_ATTR = printAndReturn("child private static attr");

    public static final String PUB_ATTR = printAndReturn("child public static attr");

    private final String code = printAndReturn("child member variable code");

    public Child() {
        printAndReturn("child construct");
    }

    {
        printAndReturn("child anonymous inner class");
    }
}
